package com.anxin.mapper;

import com.anxin.entity.Schedule;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import java.time.LocalDate;
import java.util.List;

@Mapper
public interface ScheduleMapper extends BaseMapper<Schedule> {
    List<Schedule> selectByDoctorId(String doctorId);
    List<Schedule> selectByDoctorIdAndDate(String doctorId, LocalDate date);
    int insert(Schedule schedule);
    int update(Schedule schedule);
    int delete(String id);
} 